package br.edu.ufcg.sig.query;

import java.io.Serializable;

public class ColumnInfo implements Serializable{

	private static final long serialVersionUID = 787961088672368150L;
	
	private String name;
	private int index;

	public ColumnInfo() {
		this("", 0);
	}
	
	public ColumnInfo(String name, int index) {
		this.setName(name);
		this.index = index;
		
	}

	/**
	 * @return the index
	 */
	public int getIndex() {
		return index;
	}

	/**
	 * @param index the index to set
	 */
	public void setIndex(int index) {
		this.index = index;
	}

	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	
}
